<?php include("include.php");?>
<?php
	$pid = $_GET['pid'];
	$project = project::getProjectById($pid);
	if(isset($project)){
		$project->delete();
	}
?>
<meta http-equiv="REFRESH" content="0;url=mainDash.php">
<?php include("includes/footer.php");?>